| 1. | It s easier to understand locality of reference in a single - threaded program 了解单线程程序中的引用地址更容易。 |
| 2. | Code written in this fashion is said to have good locality of reference 称以此方式编写的代码具有良好的引用局部性。 |
| 3. | In some cases , however , using the default heap can reduce locality of reference 然而,某些情况下,使用默认堆可以减少引用地址。 |
| 4. | Think about the locality of reference of the sort algorithm and the data you expect it to run on 考虑排序算法的引用地址和预期其涉及的数据。 |
| 5. | Smaller working sets mean better locality of reference , fewer page faults , and more cache hits 较小的工作集意味着更好的引用地址、更少的页错误和更多的缓存命中。 |
| 6. | The process working set is the closest metric the operating system directly provides for measuring locality of reference 进程工作集是操作系统为测量引用地址直接提供的最接近的尺度。 |
| 7. | Because the cost of a page fault is high , it is desirable that a garbage collector properly manage locality of reference 因为页面错误的成本很高,所以垃圾收集器正确管理引用的区域性( locality )是很必要的。 |
| 8. | This function can generate many calls and access a lot of memory in different data areas , leading to bad locality of reference 该函数可以在不同的数据区域中生成许多调用和访问许多内存,从而导致极差的引用地址。 |
| 9. | Sometimes a data structure that looks great turns out to be horrible because of poor locality of reference , and sometimes the reverse is true 有时看上去很棒的数据结构由于引用地址不好而变得很糟,有时正好相反。 |
| 10. | To avoid this , it s important to use data structures with good locality of reference , which means keeping related things together 为避免此问题,使用具有良好引用地址的数据结构很重要,这意味着将相关的事物合在一起。 |